<?php 

/* 
Template Name: Right Sidebar 
*/ 

?>

<?php get_header(); ?>

<!-- BEGIN #main-content -->
<div id="main-content">
		
	<h1 class="page-title">
		<?php the_title(); ?>
	</h1>
	
	<?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?>
		
	<!-- BEGIN .page-content -->
	<div class="page-content">

		<?php while ( have_posts() ) : the_post(); ?>	
			<?php the_content(); ?>
			<?php wp_link_pages( array( 
				'before' => '<div id="pagination"><span class="pages">' . __( 'Pages', 'qns' ) . '</span>', 
				'after' => '</div>', 
				'link_before' => '<span class="page-link">', 
				'link_after' => '</span>' 
			) ); ?>
			<?php if ( comments_open() ) : comments_template(); endif; ?>
		<?php endwhile; ?>

	<!-- END .page-content -->
	</div>
		
<!-- BEGIN #main-content -->
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>